package com.app.community.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;



/**
 * @Author SakuraA6
 * @Description TODO
 * @Date 2020/10/24 10:20
 **/
@Mapper
public interface AuthorityMapper {

    @Select({"select authority from user where user_id = #{userId}"})
    String selectAuthorityFromUser(@Param("userId")Long userId);
}
